<?php include "../../../config.php";?>
<?php include ROOT_PATH_."/front/m2/coresection/checkUserSession.php";?>




<?
if($_REQUEST['orderid']){
$table=$table_Prefix."orderlist";


$nidstr=implode(",",$_REQUEST['orderid']);
$cancle_str="update $table set  status = '取消' where nid in ($nidstr) and user_id = '$user_mid'";

$query = mysql_query($cancle_str) or die ("error:".mysql_error());


?>
    <script type="text/javascript">
        alert("订单取消！");
        document.location.href = "../setup_summary.php";
    </script>
<?}
else
{?>
    <script type="text/javascript">
    alert("请选择要退订的订单！");
        document.location.href = "../setup_summary.php";
    </script>
<?}?>